const User = require('../../models/user')

module.exports = (req, res) => {
  User.find({
    articleNum: {
      $gte: '1'
    }
  }, (err, userDoc) => {
    // console.log(userDoc);
    res.status(200).json({
      err_code: 0,
      data: userDoc,
      message:'查询成功'
    })
  })
}